@primary-color: #0052d9;

.container {
  padding: 32rpx;
  padding-bottom: calc(88rpx + 24rpx + env(safe-area-inset-bottom));
}

.title {
  font-size: 40rpx;
  font-weight: 700;
  line-height: 56rpx;
  margin: 48rpx 0 0;
  color: rgba(0, 0, 0, 0.9);
}

.desc {
  font-size: 24rpx;
  color: #999;
  margin: 8rpx 0 32rpx;
  line-height: 36rpx;
}

.tab-panel {
  padding: 48rpx 24rpx;
}

.title-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail-title {
  position: relative;
  font-size: 32rpx;
  font-weight: bold;
  text-align: center;
  margin: 32rpx 0 52rpx;
  background: #fff;

  &:before {
    content: '';
    display: block;
    position: absolute;
    left: -20rpx;
    top: 50%;
    width: 52rpx;
    height: 52rpx;
    transform: translateY(-50%);
    background-color: pink;
    border-radius: 50%;
    opacity: .3;
  }
}

.step-title {
  line-height: 44rpx;
}

.paragraph {
  margin: 8rpx;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120rpx;
  padding: 0 8rpx;
  border: 1px solid #333;
  font-size: 24rpx;
  border-radius: 4rpx;
  margin: 0 10rpx;
  height: 46rpx;
  box-sizing: border-box;

  &--primary {
    color: #fff;
    background-color: @primary-color;
    border: 1px solid @primary-color;
  }
}

.popup {
  display: flex;
  text-align: center;
  justify-content: center;
  background-color: #fff;
  padding: 32rpx 0;
  transform: translateY(-100%);
  transition: all .3s ease-in-out;

  &--top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  &--active {
    transform: translateY(0);
  }
}

.no-border-radius {
  border-radius: none;
}

.no-border {
  border: 0;
}

.actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 28rpx);
  background-color: #fff;
  box-shadow: #ccc 0 0 10px;
  transform: translateY(100%);
  transition: all .3s ease;
  display: flex;
  align-items: center;

  &__button {
    display: flex !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  &--active {
    transform: translateY(0);
  }

  &__text {
    line-height: 36rpx;
  }

  &__icon {
    margin-right: 8rpx;

    &--active {
      color: #0052d9;
    }
  }
}

.ad-tips {
  font-size: 20rpx;
  margin-top: 16rpx;
  color: #999;
  text-align: center;

  &__route {
    color: #0052d9;
  }
}

.button-group {
  display: flex;
  justify-self: start;
}